package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author Koumiba
 * @since 2017-03-24
 */
@TableName("tb_app_star")
public class AppStar extends Model<AppStar> {

    private static final long serialVersionUID = 1L;
    /** 主键ID */
	@TableId
	private Long tbid;
    /**
     * 应用id
     */
	@TableField("app_id")
	private Long appId;
    /**
     * 用户id
     */
	@TableField("member_id")
	private Long memberId;
    /**
     * 评分
     */
	private Integer starnum;
    /**
     * 操作时间
     */
	private Date dt;


	public Long getTbid() {
		return tbid;
	}

	public void setTbid(Long tbid) {
		this.tbid = tbid;
	}

	public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public Integer getStarnum() {
		return starnum;
	}

	public void setStarnum(Integer starnum) {
		this.starnum = starnum;
	}

	public Date getDt() {
		return dt;
	}

	public void setDt(Date dt) {
		this.dt = dt;
	}

	@Override
	protected Serializable pkVal() {
		return this.tbid;
	}

}
